using System;
using System.Collections.Generic;
using System.Text;
using XinBang.Entity;

namespace XinBang.DAL
{
    public interface IOrderDA<T>:IDataAccess<T>
    {
        IList<T> GetRecentOrders();

        IList<T> GetNoPayOrders();

        IList<T> GetNoPaySendOrders();

        IList<T> GetPayNoSendOrders();

        IList<T> GetUnavailableOrders();

        IList<T> GetSendNoReceiveOrders();

        IList<T> GetSendReceiveOrders();

        T GetLastOrderByMember(Member m);

        IList<T> GetAllOrdersByMember(Member member);
    }
}
